<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> 
<html lang="zh-cn"> 
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>登陆到控制面板</title>
<% HTML::style('style/login.css') %>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<section class="container">
	@if (Session::has('message'))
		<div class="alert alert-info" role="alert">
			<% Session::get('message') %>
		</div>
	@endif

	@if (Session::has('error'))
		<div class="alert alert-danger" role="alert">
			<% Session::get('error') %>
		</div>
	@endif

	@if (Session::has('warning'))
		<div class="alert alert-warning" role="alert">
			<% Session::get('warning') %>
		</div>
	@endif
	
	<div class="login">
		<h1>登陆到控制面板</h1>
		<% Form::open() %>
			<p>
				<input type="text" name="username" value="" placeholder="邮箱或手机号码"></p>
			<p>
				<input type="password" name="password" value="" placeholder="密码"></p>
			<p class="remember_me">
				<label>
					<input type="checkbox" name="remember_me" id="remember_me">记住我</label>
			</p>
			<p class="submit">
				<input type="submit" name="commit" value="登陆">
			</p>
		<% Form::close() %>
	</div>

	<div class="login-help">
		<p>
			<%link_to('password/remind', "忘记了密码?");%>
			.
			还没有账号? <a href="sign-up">现在就注册!</a>
		</p>
	</div>
</section>
</body>
</html>